Is there any dxl script for checking who’s been logged currently into DOORS

Hi,

Is there any dxl script for checking who’s been logged currently into DOORS?

Cheers,
Vinod
Telelogic-tau-vinod - Thu Apr 23 08:01:13 EDT 2009

Re: Is there any dxl script for checking who’s been logged currently into DOORS
llandale - Thu Apr 23 14:45:33 EDT 2009

There is a login history file in the database on the server here:

<database root folder>\v6data\logs\login_history.txt

You cannot query it from the DOORS client directly, but you can run a DXL on the client on the server, that opens that particular windows file. Parsing is difficult. It tells you who logged in when. It doesn't record log outs so you cannot deduce such things as concurrent users.

The Doors Database Server Admin tool, sibling to doors.exe, can tell you who is currently logged in. You can copy that file from a computer that installed the DOORS server. There is a windows and also a DOS based version of this tool. It will let you force log someone out.

>Louie

Re: Is there any dxl script for checking who’s been logged currently into DOORS
pete.kowalski - Thu Apr 23 15:14:02 EDT 2009

llandale - Thu Apr 23 14:45:33 EDT 2009
There is a login history file in the database on the server here:

<database root folder>\v6data\logs\login_history.txt

You cannot query it from the DOORS client directly, but you can run a DXL on the client on the server, that opens that particular windows file. Parsing is difficult. It tells you who logged in when. It doesn't record log outs so you cannot deduce such things as concurrent users.

The Doors Database Server Admin tool, sibling to doors.exe, can tell you who is currently logged in. You can copy that file from a computer that installed the DOORS server. There is a windows and also a DOS based version of this tool. It will let you force log someone out.

>Louie

You could use this script to parse the "login_history.txt" file that Louie has mentioned.

http://galactic-solutions.com/downloads/Parse_Login_History_10.zip

Re: Is there any dxl script for checking who’s been logged currently into DOORS
Telelogic-tau-vinod - Fri Apr 24 04:50:50 EDT 2009

pete.kowalski - Thu Apr 23 15:14:02 EDT 2009
You could use this script to parse the "login_history.txt" file that Louie has mentioned.

http://galactic-solutions.com/downloads/Parse_Login_History_10.zip

Thanks Guys...
This is really helpful...
but, As louie mentioned it give us only information about users who has logged in , but not log outs ...

Thanks
Vinod.

Re: Is there any dxl script for checking who’s been logged currently into DOORS
mcnairk - Fri Apr 24 08:58:58 EDT 2009

Telelogic-tau-vinod - Fri Apr 24 04:50:50 EDT 2009
Thanks Guys...
This is really helpful...
but, As louie mentioned it give us only information about users who has logged in , but not log outs ...

Thanks
Vinod.

You could parse the license file. Its location is specified in the "Config Services" tab of LMTOOLS. Mine's in: "C:\Program Files\Telelogic\license.log". Entries look like this:

10:53:05 (lmgrd) TIMESTAMP 4/23/2009
11:56:46 (telelogic) IN: "DOORS" McnairK@DOORSAPP telelogic
12:00:14 (telelogic) OUT: "DOORS" McnairK@DOORSAPP telelogic

YMMV, Ken.

Re: Is there any dxl script for checking who’s been logged currently into DOORS
SystemAdmin - Sun Apr 26 19:23:13 EDT 2009

Telelogic-tau-vinod - Fri Apr 24 04:50:50 EDT 2009
Thanks Guys...
This is really helpful...
but, As louie mentioned it give us only information about users who has logged in , but not log outs ...

Thanks
Vinod.

Hi Vinod,

There were several threads on the old Telelogic forums covering how to monitor log in, log out using the license server, the URLs below will take you to these.

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=30&threadid=1549

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=17&threadid=1361

https://forum.telelogic.com/customer/doors//messageview.cfm?catid=30&threadid=5263

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=30&threadid=4071

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=17&threadid=647


Paul Miller
Specification Practices Specialist
EuroCyber
Melbourne, Australia

Re: Is there any dxl script for checking who’s been logged currently into DOORS
Telelogic-tau-vinod - Mon Apr 27 08:51:05 EDT 2009

SystemAdmin - Sun Apr 26 19:23:13 EDT 2009

Hi Vinod,

There were several threads on the old Telelogic forums covering how to monitor log in, log out using the license server, the URLs below will take you to these.

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=30&threadid=1549

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=17&threadid=1361

https://forum.telelogic.com/customer/doors//messageview.cfm?catid=30&threadid=5263

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=30&threadid=4071

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=17&threadid=647


Paul Miller
Specification Practices Specialist
EuroCyber
Melbourne, Australia

Hi ,
There is admin command (./dbadmin -data port@computer -userlist) which gives the list of user currently logged into doors .Can you please help me ,to run this command with help of batch script ?

Thanks
Vinod.

Re: Is there any dxl script for checking who’s been logged currently into DOORS
HiLbiLy - Thu Jul 15 14:06:59 EDT 2010

Telelogic-tau-vinod - Mon Apr 27 08:51:05 EDT 2009
Hi ,
There is admin command (./dbadmin -data port@computer -userlist) which gives the list of user currently logged into doors .Can you please help me ,to run this command with help of batch script ?

Thanks
Vinod.

How do you use this admin command? Is it dxl?

Re: Is there any dxl script for checking who’s been logged currently into DOORS
llandale - Thu Jul 15 18:47:19 EDT 2010

HiLbiLy - Thu Jul 15 14:06:59 EDT 2010
How do you use this admin command? Is it dxl?

Here's my old batch file "v92-userList.bat"

c:
cd \Program Files\IBM\Rational\DOORS\9.2\bin
dbadmin -data 36677@MyDoorsServer -userlist -outfile c:\Doors-Stuff\v92-UserList.txt
start c:\Doors-Stuff\v92-UserList.txt
 
rem dbadmin -help
rem pause


Put that code in that file on your desktop, and double click on it. It does the chore and displays the results, which look like this:

-I- DBADMIN: 1276221136*landalo@NameOfMyLocalPC

There is also the 'dbsadmin.exe' program which does the same thing but is runs on Windows and has a nice dialog box you can see. (The name has an 's' in it, I guess for Window's'.)

 

 

  • Louie

 

 

Re: Is there any dxl script for checking who’s been logged currently into DOORS
HiLbiLy - Fri Jul 16 12:35:07 EDT 2010

llandale - Thu Jul 15 18:47:19 EDT 2010

Here's my old batch file "v92-userList.bat"

c:
cd \Program Files\IBM\Rational\DOORS\9.2\bin
dbadmin -data 36677@MyDoorsServer -userlist -outfile c:\Doors-Stuff\v92-UserList.txt
start c:\Doors-Stuff\v92-UserList.txt
 
rem dbadmin -help
rem pause


Put that code in that file on your desktop, and double click on it. It does the chore and displays the results, which look like this:

-I- DBADMIN: 1276221136*landalo@NameOfMyLocalPC

There is also the 'dbsadmin.exe' program which does the same thing but is runs on Windows and has a nice dialog box you can see. (The name has an 's' in it, I guess for Window's'.)

 

 

  • Louie

 

 

I tried creating this batch file, but it didn't work. I tried it on both v9.1 (with obvious changes) and v9.2 DOORS. It seems that I don't have a dbadmin feature in the DOORSHOME\bin folder. How do I get this 'dbadmin' feature? I am running XP if that makes a difference, also where can I get the 'dbsadmin.exe' program?
Thanks.

Re: Is there any dxl script for checking who’s been logged currently into DOORS
llandale - Fri Jul 16 14:31:31 EDT 2010

HiLbiLy - Fri Jul 16 12:35:07 EDT 2010
I tried creating this batch file, but it didn't work. I tried it on both v9.1 (with obvious changes) and v9.2 DOORS. It seems that I don't have a dbadmin feature in the DOORSHOME\bin folder. How do I get this 'dbadmin' feature? I am running XP if that makes a difference, also where can I get the 'dbsadmin.exe' program?
Thanks.

Perhaps they are installed when you install the DOORS server. Sorry, hadn't thought of that.

Re: Is there any dxl script for checking who’s been logged currently into DOORS
HiLbiLy - Mon Jul 19 09:51:25 EDT 2010

llandale - Fri Jul 16 14:31:31 EDT 2010
Perhaps they are installed when you install the DOORS server. Sorry, hadn't thought of that.

Yep, that feature it server side. Thanks.

Re: Is there any dxl script for checking who’s been logged currently into DOORS
HiLbiLy - Thu Jul 22 10:36:39 EDT 2010

llandale - Thu Jul 15 18:47:19 EDT 2010

Here's my old batch file "v92-userList.bat"

c:
cd \Program Files\IBM\Rational\DOORS\9.2\bin
dbadmin -data 36677@MyDoorsServer -userlist -outfile c:\Doors-Stuff\v92-UserList.txt
start c:\Doors-Stuff\v92-UserList.txt
 
rem dbadmin -help
rem pause


Put that code in that file on your desktop, and double click on it. It does the chore and displays the results, which look like this:

-I- DBADMIN: 1276221136*landalo@NameOfMyLocalPC

There is also the 'dbsadmin.exe' program which does the same thing but is runs on Windows and has a nice dialog box you can see. (The name has an 's' in it, I guess for Window's'.)

 

 

  • Louie

 

 

Louie,
I have been playing with this 'dbadmin' tool and batch files, and had another question. Is is possible to boot a user using a batch file? I know you can do it using the DOORS server GUI, but can I do it using a batch file? I attached the available commands, but I am not sure which one to use or the string format they require.
Thanks.
Attachments

attachment_14489642_dbadmin_Commands.bmp

Re: Is there any dxl script for checking who’s been logged currently into DOORS
PDU - Thu Jul 22 11:21:28 EDT 2010

Hi,

you can try the script in attached file. In french, sorry.
You need logging with admin rigths.

Regards

Pierre
Attachments

attachment_14489671_UtilisateursConnectes.dxl

Re: Is there any dxl script for checking who’s been logged currently into DOORS
HiLbiLy - Thu Jul 22 15:02:30 EDT 2010

PDU - Thu Jul 22 11:21:28 EDT 2010
Hi,

you can try the script in attached file. In french, sorry.
You need logging with admin rigths.

Regards

Pierre

Pierre,
This script find the users that have a lock on a Module. I want to be able to kick out users that have been logged in all night.
Thanks,
Kent